package PO;

import java.io.Serializable;
import java.util.ArrayList;
import User.*;

@SuppressWarnings("serial")
public class AdminstratorListPO extends UserPO implements Serializable{
	ArrayList<AdminstratorPO> Adminstratorlist=new ArrayList<AdminstratorPO>();
	
	public AdminstratorListPO(ArrayList<AdminstratorPO> alist){
		Adminstratorlist=alist;
	}
	
	public AdminstratorListPO(AdminstratorList sl){
		for(Adminstrator b:sl.getAdminstratorlist()){
			AdminstratorPO po=new AdminstratorPO(b);
			Adminstratorlist.add(po);
		}
	}
	
	public ArrayList<AdminstratorPO> getAdminstratorList(){
		return Adminstratorlist;
	}
}

